package yzrilyzr.simplesynth.app;
public class NativePlayer{
	public static native int init(int sdkInt);
	public static native void postEvent(int type,int data1,int data2);
	public static native void reset();
	public static native void loadSoundbank(String path);
	public static native void defaultInstrument();
	public static native int getCurrentProcessingNoteCount();
	public static native int getPostedEventCount();
	public static native float getProcessTime();
	public static native float getProcessStandardTime();
	public static native boolean hasData();
	public static native void setUseLimiter(boolean useLimiter);
	public static native void resetLimiter();
	public static native void setAFrequency(double aFreq);
	public static native void setDetune(int i,float detune);
	public static native void setSustain(int i,boolean sustain);
	public static native void setDelayerRoomSize(int i,int j,double delay);
	public static native void setDelayerDamper(int i,int j,double reverb);
	public static native void setDelayerRatio(int i,int j,double dryWet);
	public static native void setChorusRate(int i,int j,double rate);
	public static native void setChorusDepth(int i,int j,double chorusDepth);
	public static native void setChorusFeedback(int i,int j,double chorusFeedback);
	public static native void setChorusRatio(int i,int j,double chorusRatio);
	public static native void play();
	public static native void pause();
	public static native void setSampleRate(int sampleRate);
	public static native void export(byte[] data,int type,String dstPath,int sampleRate);
	public static native void playBytes(byte[] bytes,int type);
}
